import React from 'react';//react核心库
import ReactDOM from 'react-dom/client';//专门将react转换为dom元素的库
import reportWebVitals from './reportWebVitals';
import App from "./App"
const root = ReactDOM.createRoot(document.getElementById('root'));

// setInterval(() => {
  root.render(
    // <React.StrictMode>
      <App />
    // </React.StrictMode>
  );
// }, 1000)

// If you want to start measuring performance in your app, pass a function
// to log results (for example: reportWebVitals(console.log))
// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals
reportWebVitals();
